package com.wm.eduService.client;

import com.wm.commonutils.R;
import com.wm.commonutils.result.ResultCode;
import com.wm.servicebase.exceptionhandle.GuliException;
import org.springframework.stereotype.Component;

/**
 * @Author: sshdg
 * @Date: 2020/10/14 20:44
 */
@Component
public class OrderClientImpl implements OrderClient {
    /**
     * 调用order模块的接口查询课程是否被购买
     *
     * @param courseId 课程id
     * @param memberId 会员id
     * @return
     */
    @Override
    public Boolean isBuyCourse(String courseId, String memberId) {
        throw GuliException.from(ResultCode.ERROR);
    }
}
